<template>
<div>
  <h2>用户界面</h2>
  <p>用户相关信息：xxxxxx</p>
  <h1>{{$route.query.userId}}</h1>
</div>
</template>

<script>
export default {
  name: "User",
  computed: {
    userId() {
      return this.$route.params.userId;
    }
  }
}
</script>

<style scoped>

</style>